package org.example.ychdp.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.ychdp.entity.Admin;
import org.example.ychdp.entity.Concert;

import java.util.List;

@Mapper
public interface AdminDao {

    List<Admin> selectAllAdmin();

    int deleteByPrimaryKey(Integer adminid);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer adminid);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin selectAdminByName(String name);
}